using System.Drawing;

namespace ColladaDotNet.OpenTKMapping
{
	public class Effect : DocumentLibraryElement<effect>
	{
		private EffectProfile effect;
		internal override void Load(effect colladaData)
		{
			base.Load(colladaData);

			effect = Document.CreateElement<EffectProfile>(colladaData.CommonProfile);
		}
		public void Bind()
		{
			effect.Bind();
		}

		public void Unbind()
		{
			effect.Unbind();
		}
	}
}